/*
 * Copyright (c) 2022 ASR Microelectronics (Shanghai) Co., Ltd. All rights reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
//#undef MBEDTLS_FS_IO
#define MBEDTLS_NO_PLATFORM_ENTROPY
#define MBEDTLS_ENTROPY_HARDWARE_ALT
#define MBEDTLS_SSL_MAX_CONTENT_LEN             4096
#define MBEDTLS_SSL_IN_CONTENT_LEN              4096
#define MBEDTLS_SSL_OUT_CONTENT_LEN             4096

#define MBEDTLS_HW

#define MBEDTLS_HW_ECC

#define MBEDTLS_HW_RSA

#define MBEDTLS_HW_AES

#define MBEDTLS_HW_HASH

// #define MBEDTLS_CTR_DRBG_USE_128_BIT_KEY //aes_alt.c only suport 128bit key
// #define MBEDTLS_AES_ALT
// #define MBEDTLS_SHA1_ALT
// #define MBEDTLS_SHA256_ALT